#define _CRT_SECURE_NO_WARNINGS
#include"ZY0929_1.h"

void test()
{
	Stack S;
	StackInit(&S);
	StackPush(&S, 1);
	StackPush(&S, 2);
	StackPush(&S, 3);
	StackPush(&S, 4);
	StackPrint(&S);
	//StackPop(&S);
	//StackPrint(&S);
	printf("%d\n", StackTop(&S));
	printf("%d\n", STDataSize(&S));
	StackDestroy(&S);
}


int main()
{
	test();
	return 0;
}